package com.halflife.framework.participant.range;


import com.halflife.framework.domain.BaseDomain;
import com.halflife.framework.generator.annotation.Join;
import com.halflife.framework.generator.annotation.QueryAnn;

@QueryAnn(mainTitle = " 角色权限管理",title = "角色权限管理",table = "t_rolerange")
public class RoleRange extends BaseDomain{

	@QueryAnn(value = "权限Id" ,refered = true)
	private Integer rangeInfoId;
	@QueryAnn(value = "权限" ,refered = true)
	@Join(joinType = "I")
	private RangeInfo rangeInfo;

	@QueryAnn(value = "角色Id" ,refered = true)
	private Integer roleId;
	@QueryAnn(value = "角色" ,refered = true)
	@Join(joinType = "I")
	private Role role;

	public Integer getRangeInfoId() {
		return rangeInfoId;
	}

	public void setRangeInfoId(Integer rangeInfoId) {
		this.rangeInfoId = rangeInfoId;
	}

	public RangeInfo getRangeInfo() {
		return rangeInfo;
	}

	public void setRangeInfo(RangeInfo rangeInfo) {
		this.rangeInfo = rangeInfo;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}
}
